<template>
  <div class="box">
      <h1>今日门诊记录</h1>
      <el-table
      :data="arr"
      style="width: 100%">
      <el-table-column
        prop="id"
        label="序号" >
      </el-table-column>
      <el-table-column
        prop="name"
        label="姓名">
      </el-table-column>
      <el-table-column
        prop="num"
        label="患者编号">
      </el-table-column>
       <el-table-column
        prop="sex"
        label="患者性别">
      </el-table-column>
       <el-table-column
        prop="age"
        label="患者年龄">
      </el-table-column>
       <el-table-column
        prop="phoneNum"
        label="手机号">
      </el-table-column>
       <el-table-column
        prop="mzType"
        label="就诊类型">
      </el-table-column>
       <el-table-column
        prop="house"
        label="科室">
      </el-table-column>
       <el-table-column
        prop="doctor"
        label="医生">
      </el-table-column>
       <el-table-column
        prop="date"
        label="最近更新时间">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
 export default {
     props:['arr'],
      data() {
        return {
         
        }
      }
    }
</script>

<style lang="less" scoped>
.box{
    width: 98%;
    background: #ffffff;
     border-radius: 10px;
    box-shadow: 0px 0px 30px #c8c9db;
    margin:auto;
    padding: 20px;
    box-sizing: border-box;
}

</style>